﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Communication
{
    /// <summary>
    /// 表示在线状态的事件参数
    /// </summary>
    /// <creator>marc</creator>
    public class AliveStatusEventArgs : EventArgs
    {
        /// <summary>
        /// 当前的在线状态
        /// </summary>
        public bool CurrentStatus { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="currentStatus">当前的在线状态</param>
        public AliveStatusEventArgs(bool currentStatus)
        {
            CurrentStatus = currentStatus;
        }
    }
}
